
import request from '@/utils/request';


// 查询
export async function queryScreen(params) {
  return request('/b/waterconfig/queryList', {
    method: 'POST',
    data: params,
  });
}

// 提交
export async function submitForm(params) {
  return request('/b/waterconfig/update', {
    method: 'POST',
    data: params,
  });
}

// 字体
export async function fontFamily(params) {
  return request('/s/datadict/queryListByTypeCode', {
    method: 'POST',
    data: params,
  });
}


// 字号
export async function fontSizeList(params) {
  return request('/s/datadict/queryListByTypeCode', {
    method: 'POST',
    data: params,
  });
}

// 水印预览
export async function preview(params) {
  return request('/b/waterconfig/preview', {
    method: 'POST',
    data: params,
  });
}
